package com.literaryfamily.literaryfamily.dao;

import com.literaryfamily.literaryfamily.entity.UserCredits;
import com.literaryfamily.literaryfamily.entity.UserCreditsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserCreditsMapper {
    long countByExample(UserCreditsExample example);

    int deleteByExample(UserCreditsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserCredits row);

    int insertSelective(UserCredits row);

    List<UserCredits> selectByExample(UserCreditsExample example);

    UserCredits selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") UserCredits row, @Param("example") UserCreditsExample example);

    int updateByExample(@Param("row") UserCredits row, @Param("example") UserCreditsExample example);

    int updateByPrimaryKeySelective(UserCredits row);

    int updateByPrimaryKey(UserCredits row);
}